<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script src="../vue.js"></script>
    <!-- <script src="https://cdn.jsdelivr.net/npm/vue@2/dist/vue.js"></script> -->
</head>

<body>
    <div id="app1">
        <div>{{msg1}}</div>
        <div>{{msg2}}</div>
        <div>{{msg3}}</div>
        <div>{{msg5}}</div>
    </div>
    <span>{{msg5}}</span>
</body>
<script>
    // 1.el挂载点不在html或body上
    // 2.el挂载点可以为标签选择器、类型选择器、id选择器(id选择器)
    // 3.一个vue对象只能渲染对应的挂载点以及挂载点标签的子级孩子标签，兄弟标签不能渲染
    new Vue({
        el: '#app1',
        data: {
            msg1: '你好1',
            msg2: '你好2',
            msg3: '你好3',
        }
    })
    new Vue({
        el: 'span',
        data: {
            msg5: 'span你好1',
        }
    })
</script>

</html>